package com.super_;

/**
 * @Author 小闽
 * @Date 2024/8/10 10:28
 * @PackageName: com.super_
 * @ClassName: A
 * @Description: super语法
 * @Version 1.0
 */
public class A extends Base {
    public int n1 = 100;
    protected int n2 = 200;
    int n3 = 300;
    private int n4 = 400;

    /**
     * 构造器（无参）
     */
    public A(){

    }

    /**
     * 构造器(有参)
     * parameter: String name
     */
    public A(String name){

    }

    /**
     * 构造器(有参)
     * parameter: String name, int age
     */
    public A(String name, int age){

    }
    public void test100(){

    };
    protected void test200(){

    };
    void test300(){

    };
    private void test400(){

    };
    public void call(){
        System.out.println("A类的方法...");
    }
}
